package com.dragon.modules.yuegou.service.coupon;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dragon.common.web.PageRequest;
import com.dragon.modules.yuegou.entity.coupon.WelfareEntity;
import com.dragon.modules.yuegou.model.coupon.Welfare;
import com.dragon.modules.yuegou.model.coupon.WelfareCouponReceiveResponse;
import com.dragon.modules.yuegou.query.coupon.WelfareQuery;

/**
 * 优惠券福利信息表 服务接口
 *
 * @author pbuilder generated
 * @date 2019-10-14 15:14:59
 * @version 2.0
 */
public interface WelfareService extends IService<WelfareEntity> {


    IPage<Welfare> searchList(PageRequest page, String memberId, String busdId);
    
    IPage<Welfare> search(PageRequest page, WelfareQuery quey);

    WelfareCouponReceiveResponse getWelfare(String memberId, String welfareId);
    
    void endWelfaret(String id);

    Long getCount(String welfaretId);
}